package com.chinasoft.enumdef;

public enum Direction {
    Up(8), Down(5), Left(6), Right(7);

    int val;

    private Direction(int val) {
        this.val = val;
    }

    public int getVal() {
        return val;
    }
}
